Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

Link Hot Spot Valid Bits

The toValidFlags field in a link hot spot atom structure (link) specifies which view settings are to be used when moving to a destination node from a hot spot. You can use these bit flags to specify a value for that field:

enum {
    kQTVRValidPan                               = 1 << 0,
    kQTVRValidTilt                              = 1 << 1,
    kQTVRValidFOV                               = 1 << 2,
    kQTVRValidViewCenter                        = 1 << 3
};

Constant descriptions

kQTVRValidPan
If this bit is set, the destination pan angle is used.
kQTVRValidTilt
If this bit is set, the destination tilt angle is used.
kQTVRValidFOV
If this bit is set, the destination field of view is used.
kQTVRValidViewCenter
If this bit is set, the destination view center is used.

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |